<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>湖南中医药大学心理在线测试平台</title>
  <link rel="stylesheet" href="../../layui/css/layui.css">
  <link rel="stylesheet" href="../../layui/css/index.css">
  
</head>

<body class="layui-layout-body" >
<div class="layui-layout layui-layout-admin">
  <div class="layui-header" >
    <div class="layui-logo"><a href="index.html"> <img src="../../img/logo.png" width="50%"/></a></div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
     
      <li class="layui-nav-item"><a href="student.html">学生管理</a></li>
      <li class="layui-nav-item"><a href="paper.html">试卷管理</a></li>
      <li class="layui-nav-item  layui-this"><a href="teacher.html">教师管理</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="../../index.html">学生端登录</a></dd>
          <dd><a href="../teacher/index.html">教师端登录</a></dd>
        </dl>
      </li>
      
    </ul>
 

  </div>
  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">
    	<fieldset class="layui-elem-field layui-field-title" style="margin-top: 5px;">
  				<legend>教师管理</legend>
			</fieldset>
			<div class="layui-tab">
	  <ul class="layui-tab-title">
	    <li class="layui-this">查看教师</li>
	    <li>添加教师</li>
	    <li>批量导入</li>
	
	  </ul>
	  <div class="layui-tab-content">
		    <div class="layui-tab-item layui-show">
		    	<blockquote class="layui-elem-quote layui-quote-nm">
						  教师信息查询
					</blockquote>
		     		<div id="teacherList" lay-filter="teacherList"></div>
		    </div>
		    <div class="layui-tab-item">
		    	<blockquote class="layui-elem-quote layui-quote-nm">
						  添加教师信息
					</blockquote>
		    
					<form class="layui-form" >
						<div class="layui-form-item">
							<label class="layui-form-label">用户名</label>
							<div class="layui-input-block">
								<input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">密码</label>
							<div class="layui-input-inline">
								<input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
							</div>
							<div class="layui-form-mid layui-word-aux">默认请设置为123456</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">姓名</label>
							<div class="layui-input-inline">
								<input type="text" name="name" required lay-verify="required" placeholder="请输入姓名" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">空闲时间</label>
							<!--<div class="layui-input-inline">
								<input type="text" name="freeTime" required lay-verify="required" placeholder="请输入空闲时间" autocomplete="off" class="layui-input">
							</div>-->
							<input type="checkbox" lay-filter="test1" value="2"  title="周一"> 
							<input type="checkbox" lay-filter="test1" value="3"  title="周二"> 
							<input type="checkbox" lay-filter="test1" value="4"  title="周三"> 
							<input type="checkbox" lay-filter="test1" value="5"  title="周四"> 
							<input type="checkbox" lay-filter="test1" value="6"  title="周五"> 
							<input type="checkbox" lay-filter="test1" value="7"  title="周六">
							<input type="checkbox" lay-filter="test1" value="1"  title="周日"> 
							
							<input type="hidden" name="freeTime" id="freeTime" />
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">QQ号</label>
							<div class="layui-input-block">
								<input type="number" name="qq" required lay-verify="required" placeholder="请输入QQ号" autocomplete="off" class="layui-input">
							</div>
						</div>
						
					
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">优势</label>
							<div class="layui-input-block">
								<textarea name="strength" placeholder="请输入优势" class="layui-textarea"></textarea>
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">荣誉</label>
							<div class="layui-input-block">
								<textarea name="honour" placeholder="请输入荣誉" class="layui-textarea"></textarea>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit lay-filter="submitTeacher">立即提交</button>
								<button type="reset" class="layui-btn layui-btn-primary">重置</button>
							</div>
						</div>						
					</form>	
		    </div>
		    <div class="layui-tab-item">
	    		<blockquote class="layui-elem-quote layui-quote-nm">
						  批量上传规定格式的Excel文件批量导入学生数据 
						  <br> 请耐心等待上传解析结果
					</blockquote>
			      <div class="layui-upload-drag" id="uploadExcel">
			        <i class="layui-icon"></i>
			        <p>点击上传，或将文件拖拽到此处</p>
			      </div>
			      <button class="layui-btn"  id="submitStudents" style="margin-left: 800px; ">确认导入</button>
						<div id="newStudentList" style="display: none;"></div>
						
		    </div>
		   
			</div>
	
 		</div>
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © hnzyydx.autowired.cn 湖南中医药大学版权所有
  </div>
</div>
</body>
<script type="text/html" id="bar">
  <!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>-->
  <!--<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>-->
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script src="../../layui/layui.js"></script>
<script src="../../js/page/teacher.js"></script>
</html>